package com.unittec.zk.sdk.auth.request;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @description 修改菜单数据权限请求实体
 * @author chengjie
 * @date 2019/10/16
 */
@Data
public class Req101309 implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "菜单数据权限id不能为空")
    @ApiModelProperty(value = "菜单数据权限id")
    private String id;

    @NotNull(message = "菜单id不能为空")
    @ApiModelProperty(value = "菜单id")
    private String permissionId;

    @NotNull(message = "规则名称不能为空")
    @ApiModelProperty(value = "规则名称")
    private String ruleName;

    @ApiModelProperty(value = "规则字段")
    private String ruleColumn;

    @NotNull(message = "规则条件不能为空")
    @ApiModelProperty(value = "规则条件")
    private String ruleConditions;

    @NotNull(message = "规则值不能为空")
    @ApiModelProperty(value = "规则值")
    private String ruleValue;

    @NotNull(message = "权限状态不能为空")
    @ApiModelProperty(value = "权限状态(0=有效，1=无效)")
    private String status;

}
